saturating-rs
Saturating<T>
is an intentionally-saturating arithmetic wrapper, similar to std::num::Wrapping
.
Examples
use Saturating;
let foo = Saturating;
let bar = Saturating;
assert_eq!;
Saturating<T>
is an intentionally-saturating arithmetic wrapper, similar to std::num::Wrapping
.
use Saturating;
let foo = Saturating;
let bar = Saturating;
assert_eq!;